﻿using System.ComponentModel;

namespace Neudesic.ComponentModel
{

    /// <summary>
    /// Inherited class to provide clearer purpose for enum member descriptions.
    /// </summary>
    /// <remarks>
    /// Defines the uri fragment that defines a search type for a given entity
    /// </remarks>
    public sealed class SearchTermAttribute : DescriptionAttribute
    {

        /// <summary>
        /// Initializes a new instance of the <see cref="SearchTermAttribute" /> class.
        /// </summary>
        public SearchTermAttribute() : base()
        {
        }

        /// <summary>
        /// Initializes a new instance of the <see cref="SearchTermAttribute" /> class.
        /// </summary>
        /// <param name="searchTerm">The search term.</param>
        public SearchTermAttribute(string searchTerm) : base(searchTerm)
        {
        }
    
    }

}
